home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Reference Guide
/
C-C++ Interactive Reference Guide.iso
/
c_ref
/
csource2
/
sclib_1
/
1_2
/
v7n2035a.txt
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
340 b
|
19 lines
/* Define machine inputs */
#define I_ESC 0
#define I_Q 1
#define I_S 2
/* Define machine actions */
#define A_DO_ESC 0
#define A_ESC_Q 1
#define A_ESC_S 2
#define A_PASSTHRU 3 /* default */
esc_matrix[2][3] = {
/* State 'S_START' */
{ I_ESC, A_PASSTHRU, A_PASSTHRU },
/* State 'S_ESC' */
{ A_PASSTHRU, I_Q, I_S },
};